package com.sky.mapper;

import com.sky.dto.GoodsSalesDTO;
import com.sky.entity.Dish;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

@Mapper
public interface ReportMapper {

    Double getTurnover(Map map);

    Integer getUser(Map map);

    Integer getTotalUser(Map map);

    Integer getOrderCount(Map<String, Object> params);

    Integer getValidOrderCount(Map<String, Object> params);

    List<GoodsSalesDTO> getTop10(LocalDateTime begin, LocalDateTime end);


}
